.class public final Lnbisdk/jc;
.super Ljava/lang/Object;


# instance fields
.field private e:Lnbisdk/px;

.field private mE:Lnbisdk/na;


# direct methods
.method public constructor <init>(Lnbisdk/fk;Lnbisdk/px;)V
    .locals 1

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    iput-object p2, p0, Lnbisdk/jc;->e:Lnbisdk/px;

    invoke-virtual {p2}, Lnbisdk/px;->S()Lnbisdk/ln;

    move-result-object v0

    check-cast v0, Lnbisdk/na;

    iput-object v0, p0, Lnbisdk/jc;->mE:Lnbisdk/na;

    invoke-direct {p0, p1}, Lnbisdk/jc;->j(Lnbisdk/fk;)V

    return-void
.end method

.method private j(Lnbisdk/fk;)V
    .locals 26

    if-eqz p1, :cond_5

    const-string v3, "age"

    move-object/from16 v0, p1

    move-object v1, v3

    invoke-virtual {v0, v1}, Lnbisdk/fk;->U(Ljava/lang/String;)Z

    move-result v3

    if-eqz v3, :cond_0

    const-string v3, "age"

    move-object/from16 v0, p1

    move-object v1, v3

    invoke-static {v0, v1}, Lnbisdk/iq;->b(Lnbisdk/fk;Ljava/lang/String;)J

    :cond_0
    const-string v3, "place"

    move-object/from16 v0, p1

    move-object v1, v3

    invoke-virtual {v0, v1}, Lnbisdk/fk;->V(Ljava/lang/String;)Ljava/util/Enumeration;

    move-result-object v17

    if-eqz v17, :cond_5

    :cond_1
    :goto_0
    invoke-interface/range {v17 .. v17}, Ljava/util/Enumeration;->hasMoreElements()Z

    move-result v3

    if-eqz v3, :cond_5

    invoke-interface/range {v17 .. v17}, Ljava/util/Enumeration;->nextElement()Ljava/lang/Object;

    move-result-object p1

    check-cast p1, Lnbisdk/fk;

    invoke-static/range {p1 .. p1}, Lnbisdk/cu;->g(Lnbisdk/fk;)Lnbisdk/pp;

    move-result-object v18

    move-object/from16 v0, p0

    iget-object v0, v0, Lnbisdk/jc;->mE:Lnbisdk/na;

    move-object v3, v0

    invoke-virtual {v3}, Lnbisdk/na;->iw()I

    move-result v19

    const/4 v3, 0x0

    move/from16 v20, v3

    :goto_1
    move/from16 v0, v20

    move/from16 v1, v19

    if-ge v0, v1, :cond_1

    move-object/from16 v0, p0

    iget-object v0, v0, Lnbisdk/jc;->mE:Lnbisdk/na;

    move-object v3, v0

    move-object v0, v3

    move/from16 v1, v20

    invoke-virtual {v0, v1}, Lnbisdk/na;->aI(I)Lnbisdk/hq;

    move-result-object v21

    if-eqz v21, :cond_4

    const/4 v3, 0x1

    move v0, v3

    new-array v0, v0, [D

    move-object/from16 v16, v0

    const/4 v3, 0x1

    move v0, v3

    new-array v0, v0, [D

    move-object/from16 v22, v0

    const/4 v3, 0x1

    move v0, v3

    new-array v0, v0, [D

    move-object/from16 v23, v0

    invoke-virtual/range {v18 .. v18}, Lnbisdk/pp;->y()Lnbisdk/so;

    move-result-object v3

    invoke-virtual {v3}, Lnbisdk/so;->getLatitude()D

    move-result-wide v4

    invoke-virtual/range {v18 .. v18}, Lnbisdk/pp;->y()Lnbisdk/so;

    move-result-object v3

    invoke-virtual {v3}, Lnbisdk/so;->getLongitude()D

    move-result-wide v6

    invoke-interface/range {v21 .. v21}, Lnbisdk/hq;->fW()Lnbisdk/go;

    move-result-object v3

    move-object/from16 v0, p0

    iget-object v0, v0, Lnbisdk/jc;->e:Lnbisdk/px;

    move-object v8, v0

    invoke-virtual {v8}, Lnbisdk/px;->kt()Lnbisdk/dn;

    move-result-object v8

    invoke-virtual {v8}, Lnbisdk/dn;->cS()D

    move-result-wide v8

    invoke-virtual/range {v3 .. v9}, Lnbisdk/go;->a(DDD)Z

    move-result v3

    if-eqz v3, :cond_3

    invoke-interface/range {v21 .. v21}, Lnbisdk/hq;->fW()Lnbisdk/go;

    move-result-object v3

    invoke-virtual {v3}, Lnbisdk/go;->fl()I

    move-result v3

    const-wide/16 v9, 0x0

    invoke-interface/range {v21 .. v21}, Lnbisdk/hq;->fW()Lnbisdk/go;

    move-result-object v8

    const/4 v11, 0x0

    move-wide/from16 v24, v9

    move v9, v11

    :goto_2
    if-ge v9, v3, :cond_3

    move-object/from16 v0, p0

    iget-object v0, v0, Lnbisdk/jc;->e:Lnbisdk/px;

    move-object v10, v0

    invoke-virtual {v10}, Lnbisdk/px;->kt()Lnbisdk/dn;

    move-result-object v10

    invoke-virtual {v10}, Lnbisdk/dn;->cS()D

    move-result-wide v14

    move-wide v10, v4

    move-wide v12, v6

    invoke-virtual/range {v8 .. v15}, Lnbisdk/go;->a(IDDD)Z

    move-result v10

    if-eqz v10, :cond_2

    invoke-interface/range {v21 .. v21}, Lnbisdk/hq;->fW()Lnbisdk/go;

    move-result-object v8

    const/4 v13, 0x0

    move-object/from16 v10, v22

    move-object/from16 v11, v23

    move-object/from16 v12, v16

    invoke-virtual/range {v8 .. v13}, Lnbisdk/go;->a(I[D[D[D[D)Z

    const/4 v3, 0x0

    aget-wide v8, v22, v3

    const/4 v3, 0x0

    aget-wide v10, v23, v3

    const/16 v16, 0x0

    move-wide v12, v4

    move-wide v14, v6

    invoke-static/range {v8 .. v16}, Lnbisdk/kv;->a(DDDD[D)D

    move-result-wide v3

    add-double v3, v3, v24

    :goto_3
    const-wide/high16 v5, -0x4010

    cmpl-double v5, v3, v5

    if-eqz v5, :cond_4

    invoke-interface/range {v21 .. v21}, Lnbisdk/hq;->gh()D

    move-result-wide v5

    add-double/2addr v5, v3

    move-object/from16 v0, v18

    move-wide v1, v5

    invoke-virtual {v0, v1, v2}, Lnbisdk/pp;->t(D)V

    move-object/from16 v0, v18

    move-wide v1, v3

    invoke-virtual {v0, v1, v2}, Lnbisdk/pp;->s(D)V

    move-object/from16 v0, v18

    move/from16 v1, v20

    invoke-virtual {v0, v1}, Lnbisdk/pp;->bg(I)V

    move-object/from16 v0, v21

    move-object/from16 v1, v18

    invoke-interface {v0, v1}, Lnbisdk/hq;->a(Lnbisdk/pp;)V

    goto/16 :goto_0

    :cond_2
    invoke-interface/range {v21 .. v21}, Lnbisdk/hq;->fW()Lnbisdk/go;

    move-result-object v10

    const/4 v12, 0x0

    const/4 v13, 0x0

    const/4 v15, 0x0

    move v11, v9

    move-object/from16 v14, v16

    invoke-virtual/range {v10 .. v15}, Lnbisdk/go;->a(I[D[D[D[D)Z

    const/4 v10, 0x0

    aget-wide v10, v16, v10

    add-double v10, v10, v24

    add-int/lit8 v9, v9, 0x1

    move-wide/from16 v24, v10

    goto :goto_2

    :cond_3
    const-wide/high16 v3, -0x4010

    goto :goto_3

    :cond_4
    add-int/lit8 v3, v20, 0x1

    move/from16 v20, v3

    goto/16 :goto_1

    :cond_5
    return-void
.end method
